import three from "@/assets/icon/cooperativeOffice/3.png"
import four from "@/assets/icon/cooperativeOffice/4.png"
import five from "@/assets/icon/cooperativeOffice/5.png"
import six from "@/assets/icon/cooperativeOffice/6.png"
import seven from "@/assets/icon/cooperativeOffice/7.png"
import eight from "@/assets/icon/cooperativeOffice/8.png"

const routes = [
    {
        path: "/cooperativeOffice/home",
        name: "cooperativeOfficeHome",
        component: () => import("@/views/cooperativeOffice/Home.vue"),
        meta: {
            name: "农机协同办公",
            isKeepAlive: true,
        },
    },
    {
        path: "/certificate",
        name: "certificate",
        component: () => import("@/views/cooperativeOffice/certificate/index.vue"),
        meta: {
            name: "证件管理"
        },
    },
    {
        path: "/certificate/itemInfo",
        name: "certificateItemInfo",
        component: () => import("@/views/cooperativeOffice/certificate/itemInfo.vue"),
        meta: {
            name: "证件详情"
        },
    },
    {
        path: "/information",
        name: "information",
        component: () => import("@/views/cooperativeOffice/information/index.vue"),
        meta: {
            name: "信息公开",
        },
    },
    {
        path: "/information/itemInfo",
        name: "informationItemInfo",
        component: () => import("@/views/cooperativeOffice/information/itemInfo.vue"),
        meta: {
            name: "信息详情"
        },
    },
    {
        path: "/firstTrial",
        name: "firstTrial",
        component: () => import("@/views/cooperativeOffice/firstTrial/index.vue"),
        meta: {
            icon: three,
            name: "年审初审预约",
            isMenu: true,
        },
    },
    {
        path: "/firstTrial/itemEdit",
        name: "firstTrialItemEdit",
        component: () => import("@/views/cooperativeOffice/firstTrial/itemEdit.vue"),
        meta: {
            name: "新增编辑预约",
        },
    },
    {
        path: "/firstTrial/itemInfo",
        name: "firstTrialItemInfo",
        component: () => import("@/views/cooperativeOffice/firstTrial/itemInfo.vue"),
        meta: {
            name: "预约详情",
        },
    },
    {
        path: "/technology",
        name: "technology",
        component: () => import("@/views/cooperativeOffice/technology/index.vue"),
        meta: {
            icon: four,
            name: "农机化新技术推广",
            isMenu: true,
        },
    },
    {
        path: "/scrapRenewal",
        name: "scrapRenewal",
        component: () => import("@/views/cooperativeOffice/scrapRenewal/index.vue"),
        meta: {
            icon: five,
            name: "农机报废更新",
            isMenu: true,
        },
    },
    {
        path: "/serviceAdvisory",
        name: "serviceAdvisory",
        component: () => import("@/views/cooperativeOffice/serviceAdvisory/index.vue"),
        meta: {
            icon: six,
            name: "农机服务咨询",
            isMenu: true,
        },
    },
    {
        path: "/trainService",
        name: "trainService",
        component: () => import("@/views/cooperativeOffice/trainService/index.vue"),
        meta: {
            icon: seven,
            name: "农机培训服务",
            isMenu: true,
        },
    },
    {
        path: "/drivLicence",
        name: "drivLicence",
        component: () => import("@/views/cooperativeOffice/drivLicence/index.vue"),
        meta: {
            icon: eight,
            name: "农机手驾驶证",
            isMenu: true,
        },
    },
    {
        path: "/itemEdit",
        name: "itemEdit",
        component: () => import("@/views/cooperativeOffice/publicItem/itemEdit.vue"),
        meta: {
            name: "新增编辑"
        },
    },
    {
        path: "/itemInfo",
        name: "itemInfo",
        component: () => import("@/views/cooperativeOffice/publicItem/itemInfo.vue"),
        meta: {
            name: "详情信息"
        },
    },
];

export { routes };
